package com.example.hackover_client;

import java.io.IOException;
import android.location.*;
import android.os.Bundle;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;


public class Main extends Activity {
	
	public static final String URL = "http://hackover.medicall.com.ro/main.asmx"; 
	public static final String NAMESPACE = "http://tempuri.org/";
	
	public String IntroState="login";
	public String usr_GUID;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.intro_layout);
        
        Button registerScreenLogin = (Button) findViewById(R.id.btn_GO);
        

        GoListener b_GO = new GoListener(this);
        registerScreenLogin.setOnClickListener(b_GO);
        
        
        Button registerScreenRegister = (Button) findViewById(R.id.btn_Switch);
        

        SwitchListener b_Switch = new SwitchListener(this);
        registerScreenRegister.setOnClickListener(b_Switch);
        b_Switch.onClick(null);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.intro_layout, menu);
        return true;
    }
}
